package lang;

public class AssertTest {
	public static void main(String[] args) {
		int a = 0;
		assert a != 0;//需要在VM参数中配置-ea来开启assert功能
		System.out.println("nihao!");
	}
}
